package com.example.demo.business.dao;

import com.example.demo.business.bean.entity.HMashLog;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface HMashDao extends CrudRepository<HMashLog,Integer> {
    HMashLog findByCodeAndUid(String code,int uid);
    List<HMashLog> findByUid(int uid);
    int countByCode(String code);
}
